public class Test {
    public static void main1(String[] args) {
        try {
            Person p = new Person("小五",9);
            Object p1 = p.clone();
            System.out.println(p1 == p);
            System.out.println(p.equals(p1));
        }catch (CloneNotSupportedException e){
            e.printStackTrace();
            System.out.println("该类没有实现Cloneable 接口！");
        }
        System.out.println("程序结束！");
    }

    public static void main(String[] args) {
        int num = 10;
        String str = String.valueOf(num);
        System.out.println(str);

        String str1 = "1.5";
        double num1 = Double.parseDouble(str1);
        System.out.println(num1);
    }
}